package com.developer.platform.application.query.dto;

import com.veeker.core.bean.TreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author ：qiaoliang
 * @date ：2020-11-04
 */
@ApiModel("资源树返回模型")
public class MenuTreeDto extends TreeNode {
    @ApiModelProperty(value = "资源标题")
    private String title;

    public MenuTreeDto(Long id, Long parentId, String title) {
        super(id, parentId);
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
